//
//  PKRequestManager.h
//  PianKe
//
//  Created by ybq on 15/12/22.
//  Copyright © 2015年 B7_Young. All rights reserved.
//

#import <Foundation/Foundation.h>
typedef void(^Finish)(NSData *data);
typedef void(^Error)(NSError *error);

typedef NS_ENUM (NSInteger, RequestType) {
    POST,
    GET
};

@interface PKRequestManager : NSObject

+ (void)requestWithUrlString:(NSString *)urlString parDic:(NSDictionary *)parDic Method:(RequestType)method finish:(Finish)finish error:(Error)error;

@end
